package com.purchase.ml.utils;

import com.purchase.ml.consts.CommonConsts;
import com.purchase.ml.entity.acc.SysUser;
import com.purchase.ml.entity.prod.SysProduct;
import com.purchase.ml.security.JwtUtil;

import java.math.BigDecimal;

/**
 * Created by kyyang on 2021/2/28 13:51
 */
public class Ipay88ChannelUtils {

    //获取当前用户购物车key
    public static String getCategoryBuyPaymentId(String channel){
        String category = "bank fpx";
        if(channel == "2" || channel == "55"){
            category = "credit card";
        }
        if( channel == "22" || channel == "78" || channel=="122" || channel=="210" || channel=="243" ){
            category = "e-wallet";
        }
        return category;
    }




}
